package com.antaohua.tools.shares.entity;

import java.util.Date;

import javax.persistence.Column;

import com.antaohua.tools.framework.base.interfase.CreateDateInterfase;
import com.antaohua.tools.framework.base.model.UUIDIdentityModel;

public class SharesStockIndexEntity extends UUIDIdentityModel implements CreateDateInterfase{
	
	
	@Column(name = "CREATEDATE", nullable = false)
	private Date createDate;
	@Column(name ="yestodayClosePrice",precision = 10, scale = 6)
	private Double yestodayClosePrice;
	@Column(name ="diff_money",precision = 10, scale = 6)
	private Double diff_money;
	@Column(name ="name",length=30,nullable=false)
	private String name;
	@Column(name ="tradeNum",precision = 13, scale = 6)
	private Double tradeNum;
	@Column(name ="code",length=30,nullable=false)
	private String code;
	@Column(name ="totalcapital",precision = 5, scale = 6)
	private Double maxPrice;
	@Column(name ="totalcapital",precision = 5, scale = 6)
	private Double nowPrice;
	@Column(name ="totalcapital",precision = 5, scale = 6)
	private Double minPrice;
	@Column(name ="totalcapital",nullable=false)
	private Date time;
	@Column(name ="totalcapital",precision = 10, scale = 6)
	private Double tradeAmount;
	@Column(name ="totalcapital",precision = 10, scale = 6)
	private Double swing;
	@Column(name ="totalcapital",precision = 10, scale = 6)
	private Double todayOpenPrice;
	@Column(name ="totalcapital",precision = 10, scale = 6)
	private Double diff_rate;
	

	public Double getYestodayClosePrice() {
		return yestodayClosePrice;
	}

	public void setYestodayClosePrice(Double yestodayClosePrice) {
		this.yestodayClosePrice = yestodayClosePrice;
	}

	public Double getDiff_money() {
		return diff_money;
	}

	public void setDiff_money(Double diff_money) {
		this.diff_money = diff_money;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Double getTradeNum() {
		return tradeNum;
	}

	public void setTradeNum(Double tradeNum) {
		this.tradeNum = tradeNum;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public Double getMaxPrice() {
		return maxPrice;
	}

	public void setMaxPrice(Double maxPrice) {
		this.maxPrice = maxPrice;
	}

	public Double getNowPrice() {
		return nowPrice;
	}

	public void setNowPrice(Double nowPrice) {
		this.nowPrice = nowPrice;
	}

	public Double getMinPrice() {
		return minPrice;
	}

	public void setMinPrice(Double minPrice) {
		this.minPrice = minPrice;
	}

	public Date getTime() {
		return time;
	}

	public void setTime(Date time) {
		this.time = time;
	}

	public Double getTradeAmount() {
		return tradeAmount;
	}

	public void setTradeAmount(Double tradeAmount) {
		this.tradeAmount = tradeAmount;
	}

	public Double getSwing() {
		return swing;
	}

	public void setSwing(Double swing) {
		this.swing = swing;
	}

	public Double getTodayOpenPrice() {
		return todayOpenPrice;
	}

	public void setTodayOpenPrice(Double todayOpenPrice) {
		this.todayOpenPrice = todayOpenPrice;
	}

	public Double getDiff_rate() {
		return diff_rate;
	}

	public void setDiff_rate(Double diff_rate) {
		this.diff_rate = diff_rate;
	}

	public Date getCreateDate() {
		return createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}
	
	
	
	
	
}
